home *** CD-ROM | disk | FTP | other *** search
- global gRoundScore
-
- on beginSprite me
- xtc = 0
- repeat with i = 1 to gRoundScore.count
- xtc = xtc + gRoundScore[i]
- end repeat
- member("total score").text = "Total Score:" && string(xtc) && "pts"
- if (xtc >= 0) and (xtc <= 100) then
- puppetSound(5, "lose")
- member("job done").text = "Not Bad!"
- else
- if (xtc >= 101) and (xtc <= 200) then
- puppetSound(5, "lose")
- member("job done").text = "Pretty Good!"
- else
- if (xtc >= 201) and (xtc <= 300) then
- puppetSound(5, "win")
- member("job done").text = "Great Job!"
- else
- if xtc >= 300 then
- puppetSound(5, "win")
- member("job done").text = "Excellent Showing!"
- end if
- end if
- end if
- end if
- end
-